home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue56 / VFI / Listing7.pas < prev   
Encoding:
Pascal/Delphi Source File  |  2000-02-29  |  474 b   |  20 lines

  1. IPlugInFrame = interface
  2. end;
  3. TPlugInFrame = class(TInterfacedObject, IPlugInFrame)
  4. end;
  5. TCustomerFrame = class(TFrame, IPlugInFrame)
  6. private
  7.   FPlugInFrame: IPlugInFrame;
  8. public
  9.   constructor Create(AOwner: TComponent); override;
  10.   property PlugInFrame: IPlugInFrame
  11.   read FPlugInFrame write FPlugInFrame
  12.   implements IPlugInFrame;
  13. end;
  14.  
  15. constructor TCustomerFrame.Create(AOwner: TComponent);
  16. begin
  17.   inherited;
  18.   PlugInFrame:=TPlugInFrame.Create;
  19. end;
  20.